237
Apache 2.0.35 to 2.0.50 .htaccess environment variables buffer overflow
HTTP
2004/09/16
Marc Ruef
marc dot ruef at computec dot ch
http://www.computec.ch
computec.ch
Marc Ruef
marc dot ruef at computec dot ch
http://www.computec.ch
computec.ch
2004/11/13
2.0
Enhanced the plugin in version 1.1. Corrected the plugin structure and added the accuracy values in 1.2. Added the product produce information in version 1.3. Enhanced the pattern matching in version 2.0
tcp
80
open|send HEAD / HTTP/1.0\n\n|sleep|close|pattern_exists HTTP/1.[0-1] ### *Server: Apache/2.0.[3-4][0-9]* OR HTTP/1.[0-1] ### *Server: Apache/2.0.50*
80
I am not sure which Apache versions that are affected. http://www.uniras.gov.uk/vuls/2004/403518/ and Secunia are talking about Apache prior 2.0.51 - But the Nessus plugin does only check up to 1.3.31.
Swedish IT Incident Centre
2004/09/15
http://www.uniras.gov.uk/vuls/2004/403518/
Apache Software Foundation
apache at apache dot org
http://httpd.apache.org
Apache 2.0.35 to 2.0.50
Apache web servers newer than 2.0.50 or other web servers
Denial Of Service
The remote host is running an Apache web server. The installed version is vulnerable to a buffer overflow attack. A local attacker may be able to run arbitrary code with corrupt .htaccess files. The parsing of environment variables seems to be vulnerable to the attack.
If the web server is not used it should be de-installed or de-activated. Install the newest patch or bugfix to solve the problem or upgrade to the latest software version which is not vulnerable anymore. To make it harder to find the server the daemon could be configured to listen at another port (e.g. 8081). Alternation of the application banner can confuse an attacker and let him determine the wrong software. Additionally limit unwanted connections and communications with firewalling.
Approx. 40 minutes
No
No
Yes
Medium
6
6
9
7
High
CAN-2004-0786
12540
844
51138
51138
Hacking Exposed: Network Security Secrets & Solutions, Stuart McClure, Joel Scambray and George Kurtz, February 25, 2003, 4th Edition, McGraw-Hill Osborne Media, ISBN 0072227427
http://xforce.iss.net/xforce/xfdb/17413